package cn.lxh.system.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * Course课程类
 */
@Data
@AllArgsConstructor // 有参构造
@NoArgsConstructor // 无参构造
public class Course{

    /** id表示编号 */
    private Long id;

    @Excel(name = "日期", width = 40, format = "yyyy/MM/dd")
    @JsonFormat(pattern = "yyyy/MM/dd", timezone = "GMT+8")
    /** lectureTime表示日期 */
    private Date lectureTime;

    /** week表示星期 */
    @Excel(name = "星期", width = 20)
    private String week;

    /** content表示课程内容 */
    @Excel(name = "课程内容", width = 20)
    private String content;

    /** teacher表示讲师 */
    @Excel(name = "讲师", width = 20)
    private String teacher;

    /** remark表示备注 */
    @Excel(name = "备注", width = 20)
    private String remark;

}
